<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		
		//创建日期对象
		var myDate=new Date();
		
		//获取一个月中的某一天
		console.log(myDate.getDate())
		
		console.log(Date())
		
		//
		console.log(myDate.getMonth()+1)
		console.log(myDate.getDay())
	</script>
</html>
